package org.fastsyncer.common.entity;

import java.util.List;
import java.util.Map;

/**
 * 连接器基本信息
 * @ClassName: BaseInfo 
 * @Description: 包括连接器的配置、元信息、总条数
 * @author AE86
 * @date: 2017年7月20日 下午3:37:59
 */
public class BaseInfo {

	/**
	 * 元数据信息
	 * 格式：[{"name":"ID","typeName":"INT","type":"4"},{"name":"NAME","typeName":"VARCHAR","type":"12"}]
	 */
	private List<Map<String, Object>> metaInfo;

	/**
	 * 总条数
	 */
	private Integer rowCount = 0;
	
	public BaseInfo() {
		super();
	}

	public BaseInfo(List<Map<String, Object>> metaInfo, Integer rowCount) {
		super();
		this.metaInfo = metaInfo;
		this.rowCount = rowCount;
	}

	public List<Map<String, Object>> getMetaInfo() {
		return metaInfo;
	}

	public void setMetaInfo(List<Map<String, Object>> metaInfo) {
		this.metaInfo = metaInfo;
	}

	public Integer getRowCount() {
		return rowCount;
	}

	public void setRowCount(Integer rowCount) {
		this.rowCount = rowCount;
	}

}
